package com.example.conf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpdcn
 * @since 2020-09-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_top_member")
@ApiModel(value="ShopTopMemberEntity对象", description="")
public class ShopTopMemberEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(comment = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Column(comment = "会员id")
    @ApiModelProperty(value = "会员id")
    private String memberId;

    @Column(comment = "姓名")
    @ApiModelProperty(value = "姓名")
    private String realName;

    @Column(comment = "昵称")
    @ApiModelProperty(value = "昵称")
    private String nickName;

    @Column(comment = "头像")
    @ApiModelProperty(value = "头像")
    private String pic;

    @Column(comment = "购买量")
    @ApiModelProperty(value = "购买量")
    private Double amt;


}
